package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "风险库")
public class BhRiskList {
    @TableId(type = IdType.AUTO)
    @Schema(description = "主键id")
    private Integer id;
    @Schema(description = "删除标识：0=未删除；1=已删除")
    private Integer delFlag;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "创建人ID")
    private String createdBy;
    @Schema(description = "更新时间")
    private Date updatedTime;
    @Schema(description = "修改人ID")
    private String updatedBy;
    @Schema(description = "所属组织id")
    private Integer byOfficeId;
    @Schema(description = "状态（字典值： 已执行、未执行）")
    private String status;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "Tab分类（1 作业风险库   和 2 跟班干部检查）")
    private String tabName;
    @Schema(description = "序号")
    private Integer sort;
    @Schema(description = "名称")
    private String name;
    @Schema(description = "风险因素")
    private String riskFactor;
    @Schema(description = "主要管控措施")
    private String controlMeasure;
    @Schema(description = "评价-可能性")
    private Integer evaluatePossibility;
    @Schema(description = "评价-严重性")
    private Integer evaluateSeriousness;
    @Schema(description = "评价-评价结果")
    private Integer evaluateEvaluationResult;
    @Schema(description = "评价-风险分级")
    private String evaluateRiskLevel;
    @Schema(description = "基层岗位")
    private String dutyBasePost;
    @Schema(description = "队站")
    private String dutyTeamStation;
    @Schema(description = "分公司")
    private String dutyFiliale;
    @Schema(description = "公司")
    private String dutyCompany;
    @Schema(description = "可能导致事故类型")
    private String accidentType;
    @Schema(description = "推送到")
    private String pushTo;
    @Schema(description = "父部门id")
    private Integer parentId;
}
